package com.li.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author li
 * @version 1.0
 * @ClassName Music
 * @description: TODO
 * @date 2025年02月07日
 */

@Data
public class Music {

    private Integer mid;
    private String mname;
    private Integer mtype;
    private String msinger;
    private Integer number;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date mdate;
}
